package io.adrainty.bolee.insurance.models.aggregate;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author AdRainty
 * @version V1.0.0
 * @since 2025/8/25 下午11:31
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "收益试算周期")
public class EarningPeriodicDTO implements Serializable {
    
    @Serial
    private static final long serialVersionUID = -3968029206808705553L;

    @Schema(description = "第几期")
    private String periodic;

    @Schema(description = "领取金额")
    private BigDecimal receivedAmount;

    @Schema(description = "领取时间")
    private LocalDateTime actualGetStartTime;
    
}
